From: Bilal Elmoussaoui Date: Wed, 22 Nov 2023 10:09:01 +0000 (+0100) Subject: shell/tray-icon: Adapt to moved xwindow property to XWindow X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~160 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=129fe3a07e95e8c01f02fcddfdc639ab9c08e82e;p=gnome-shell.git shell/tray-icon: Adapt to moved xwindow property to XWindow Associated merge request: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 Part-of: --- diff --git a/src/shell-tray-icon.c b/src/shell-tray-icon.c index 629dc39e2..3eee5f5bf 100644 --- a/src/shell-tray-icon.c +++ b/src/shell-tray-icon.c @@ -64,7 +64,8 @@ shell_tray_icon_window_created_cb (MetaDisplay *display, MetaWindow *window, ShellTrayIcon *tray_icon) { - Window xwindow = meta_window_get_xwindow (window); + MetaX11Display *x11_display = meta_display_get_x11_display (display); + Window xwindow = meta_x11_display_lookup_xwindow (x11_display, window); if (tray_icon->tray_child && xwindow == na_xembed_get_socket_window (NA_XEMBED (tray_icon->tray_child)))